import Vue from 'vue'
// 引入vant-ui
import Vant from 'vant'
import { Icon } from "vant";
import { AddressEdit } from 'vant';
// 引入vant-ui样式
import 'vant/lib/index.css';
import App from './App.vue'
import router from './router'
import store from './store'



Vue.config.productionTip = false
//全局引入
Vue.filter("dalImg", (v) => {
  if (v) {
    if (v.startsWith("http")) {
      return v;
    } else {
      return "http://192.168.12.75:3009" + v;
    }
  } else {
    return "";
  }
});
Vue.use(Vant);
Vue.use(AddressEdit);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')